Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class / CreateSaveFileDialog Method
The document format initially selected in the created save file dialog. If set to null the file format of the current document's file name will be selected.
The format registry to use for available formats and others


In This Topic
    CreateSaveFileDialog Method (NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings>)
    In This Topic
    Creates the save file dialog shown by the SaveToFile methods that do not have a fileName parameter.
    Syntax
    'Declaration
     
    
    Protected Friend Overridable Function CreateSaveFileDialog( _
       ByVal defaultFormat As TDocFormat, _
       ByVal formatRegistry As TDocFormatRegistry _
    ) As NSaveFileDialog
    'Usage
     
    
    Dim instance As NDocumentView(Of TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings)
    Dim defaultFormat As TDocFormat
    Dim formatRegistry As TDocFormatRegistry
    Dim value As NSaveFileDialog
     
    value = instance.CreateSaveFileDialog(defaultFormat, formatRegistry)
    protected internal virtual NSaveFileDialog CreateSaveFileDialog( 
       TDocFormat defaultFormat,
       TDocFormatRegistry formatRegistry
    )

    Parameters

    defaultFormat
    The document format initially selected in the created save file dialog. If set to null the file format of the current document's file name will be selected.
    formatRegistry
    The format registry to use for available formats and others
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also